home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Crosscountry USA Photo Safari
/
Crosscountry USA Photo Safari.iso
/
Data
/
cc_base
/
pak00_16bit_f.pk3
/
main_menu.gl.p
< prev
next >
Wrap
Text File
|
2003-01-10
|
5KB
|
203 lines
{
ActiveWhileHidden = TRUE;
Hidden = TRUE;
ChildID = {
GuiAnimation("plate") {
AnimationID = "anim/guage_gui/guage_window.pcx";
X = 0;
Y = 0;
Width = 340;
Height = 410;
},
GuiAnimation("guages") {
AnimationID = "anim/guage_gui/window/guagy.anm";
X = 0;
Y = 0;
Width = 340;
Height = 360;
},
GuiButton("new_game_button") {
X = 110;
Y = 40;
TextID = Mangle(155/*"New Game"*/);
StyleID = "gui/bs/square.gbs";
FontID = "font/square_black_on_gray_9.tf";
Width = 160;
AutoSize = HEIGHT;
ScriptID = Script {
@activate {
resid mc;
mc = ResByName("splash_screen.gl/menu_controller");
ResPropSetResID(mc,"panel_to_display", ResByName("game_setup.gl"));
}
};
},
GuiButton("load_button") {
X = 110;
Y = 80;
TextID = Mangle(156/*"Load Game"*/);
StyleID = "gui/bs/square.gbs";
FontID = "font/square_black_on_gray_9.tf";
Width = 160;
AutoSize = HEIGHT;
ScriptID = Script {
@activate {
resid mc;
mc = ResByName("splash_screen.gl/menu_controller");
ResPropSetResID(mc,"panel_to_display", ResByName("load_saved_game.gl"));
}
};
},
GuiButton("load_scenario_button") {
X = 110;
Y = 120;
TextID = Mangle(157/*"Load Scenario"*/);
StyleID = "gui/bs/square.gbs";
FontID = "font/square_black_on_gray_9.tf";
Width = 160;
AutoSize = HEIGHT;
ScriptID = Script {
@activate {
resid mc;
mc = ResByName("splash_screen.gl/menu_controller");
ResPropSetResID(mc,"panel_to_display", ResByName("load_scenario.gl"));
}
};
},
GuiButton("game_options_button") {
X = 110;
Y = 160;
TextID = Mangle(158/*"Options"*/);
StyleID = "gui/bs/square.gbs";
FontID = "font/square_black_on_gray_9.tf";
Width = 160;
AutoSize = HEIGHT;
ScriptID = Script {
@activate {
resid mc;
mc = ResByName("splash_screen.gl/menu_controller");
ResPropSetResID(mc,"panel_to_display", ResByName("game_options.gl"));
}
};
},
GuiButton("credits_button") {
X = 110;
Y = 200;
TextID = Mangle(159/*"Credits"*/);
StyleID = "gui/bs/square.gbs";
FontID = "font/square_black_on_gray_9.tf";
Width = 160;
AutoSize = HEIGHT;
ScriptID = Script {
@activate {
resid mc;
mc = ResByName("splash_screen.gl/menu_controller");
ResPropSetResID(mc,"panel_to_display", ResByName("credits.gl"));
}
};
},
GuiButton("dashtest_button") {
X = 330;
Y = 290;
TextID = Mangle(160/*"Dash Test"*/);
StyleID = "gui/bs/square.gbs";
FontID = "font/square_black_on_gray_9.tf";
Width = 160;
AutoSize = HEIGHT;
Hidden = TRUE;
ScriptID = Script {
@loaded {
if (CVarGetInt("DashTest")) {
ResPropSetInt(SELF,"Hidden",FALSE);
}
}
@activate {
release("floor");
mark("floor");
ResByName("dash_test.gl");
}
};
},
GuiButton("scenario_button") {
X = 110;
Y = 240;
TextID = Mangle(161/*"Scenario Creator"*/);
StyleID = "gui/bs/square.gbs";
FontID = "font/square_black_on_gray_9.tf";
Width = 160;
AutoSize = HEIGHT;
Hidden = True;
ScriptID = Script {
@loaded {
if (CVarGetInt("ScenarioCreator")) {
ResPropSetInt(SELF,"Hidden",FALSE);
}
}
@activate {
release("floor");
mark("floor");
ResByName("scenario_wizard.gl");
}
};
},
GuiButton("tutorial_button") {
X = 110;
Y = 280;
TextID = Mangle(298/*"Show Me"*/);
StyleID = "gui/bs/square.gbs";
FontID = "font/square_black_on_gray_9.tf";
Width = 160;
AutoSize = HEIGHT;
Hidden = True;
ScriptID = Script {
@loaded {
if (CVarGetInt("Tutorial")) {
ResPropSetInt(SELF,"Hidden",FALSE);
}
}
@activate {
release("floor");
mark("floor");
ResByName("tutorial/tutorial.gl");
}
};
},
GuiButton("quit_button") {
X = 110;
Y = 320;
TextID = Mangle(162/*"Quit"*/);
StyleID = "gui/bs/square.gbs";
FontID = "font/square_black_on_gray_9.tf";
Width = 160;
AutoSize = HEIGHT;
ScriptID = Script {
@activate {
Command("quit");
}
};
}
};
}